'''
Created on 7 mai 2010

@author: philip
'''

from django.conf.urls.defaults import patterns

urlpatterns = patterns('',
                       (r'^add/$',  'photos.views.add_photo'),
                       (r'^get/(?P<photoId>[0-9]+)$',  'photos.views.get_photo'),
                       (r'^(?P<communityId>[-a-zA-Z]+)$',  'photos.views.index'),
                       (r'^(?P<communityId>[-a-zA-Z]+)/$',  'photos.views.index'),
                       (r'^flickr/gettoken/$',  'photos.views.flickr_get_token'),
                       (r'^flickr/getfrob/$',  'photos.views.flickr_get_frob'),
                       
                       )